<div class="bjui-pageHeader">
	<form id="pagerForm" data-toggle="ajaxsearch" action="__URL__"
		method="post">

		<div class="bjui-searchBar">
			<span<php>echo display(CONTROLLER_NAME.'/add');</php>
				style="float:right;margin-right:20px;"><a
				href="__URL__/edit/KeysID/0/navTabId/{:CONTROLLER_NAME}"
				class="btn btn-green" data-toggle="dialog" data-width="600"
				data-height="300" data-id="dialog-mask" data-mask="true"
				data-icon="plus">新增</a></span> <span><a class="btn btn-orange"
				href="javascript:;" onclick="$(this).navtab('reloadForm', true);"
				data-icon="undo">刷新</a></span>
		</div>
	</form>

</div>
<div class="bjui-pageContent">
	<table data-toggle="tablefixed" data-width="100%" data-layout-h="0"
		data-nowrap="true">
		<thead>
			<tr>
				<th width="30" height="30"></th>
				<th>编号</th>
				<th>关键字名称</th>
				<th>排序</th>
				<th<php> echo display(CONTROLLER_NAME.'/del');</php> >状态</th>
				<th<php>echo display(CONTROLLER_NAME.'/edit');</php> >操作</th>
			</tr>
		</thead>
		<tbody>
			<foreach name="list" item="v">
			<tr>
				<td height=25></td>
				<Td>{$v.KeysID}</td>
				<Td><assign name="strLevel" value="+" /> <for start="0"
						end="$v.KeysLevel" name="i"> <php>$strLevel =
					$strLevel . "---" ;</php> </for> <switch name="v.KeysLevel"> <case
						value="0">+<B>{$v.KeysName}</b></case> <case value="$v.KeysLevel">{$strLevel}{$v['KeysName']}</case>

					<default /> </switch></td>
				<td>{$v.Sort}</td>
				<td<php>echo display(CONTROLLER_NAME.'/changeStatus');</php> ><a
					href="__URL__/changeStatus/KeysID/{$v['KeysID']}/navTabId/{:CONTROLLER_NAME}"
					data-toggle="doajax" data-confirm-msg="确定要操作吗？"><if
							condition="$v.Status EQ 1 ">
						<img src="__PUBLIC__/images/ok.gif" border="0" />
						<else />
						<img src="__PUBLIC__/images/locked.gif" border="0" /></if></a></td>
				<td<php>echo display(CONTROLLER_NAME.'/edit');</php> > <a
					href="__URL__/edit/KeysID/{$v.KeysID}/navTabId/{:CONTROLLER_NAME}"
					class="btn btn-green btn-sm" data-toggle="dialog" data-width="600"
					data-height="300" data-id="dialog-mask" data-mask="true">编辑</a> <php>echo
					display(CONTROLLER_NAME.'/del');</php> <a
					href="__URL__/del/KeysID/{$v.KeysID}/navTabId/{:CONTROLLER_NAME}"
					class="btn btn-green btn-sm" data-toggle="doajax" data-width="600"
					data-height="300" data-id="dialog-mask" data-mask="true"
					data-confirm-msg="确定要删除吗？">删除</a></td>

			</tr>
			</foreach>
		</tbody>
	</table>
</div>